package com.woniuxy.cloud.depositassembly.service;

import com.woniuxy.cloud.api.param.BackDepositParam;
import com.woniuxy.cloud.depositassembly.entity.DepositOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.cloud.api.dto.DepositOrderDto;
import com.woniuxy.cloud.api.param.DepositReduceParam;
import com.woniuxy.cloud.depositassembly.param.OrderParam;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 周川雄
 * @since 2022-02-11
 */
public interface DepositOrderService extends IService<DepositOrder> {

    DepositOrderDto AddDepositOrder(OrderParam orderParam);

    boolean payDeposit(Integer id);

    String alipayDeposit(Integer depositOrderId);

    String depositRefund(BackDepositParam param);

    String penalty(DepositReduceParam param);
}
